* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

.container {
  height: 100vh;
  overflow: hidden;
}

.posi-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  transition: all 0.5s linear;
}

.load {
  position: relative;
  background: url("../images/p1/背景.png") no-repeat center;
  background-size: cover;
  opacity: 1;
}

.load .footer {
  position: absolute;
  bottom: 0;
}

.load.fade-out {
  transform: scale(2.5);
}

/* 时钟 */
.clock {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: all 0.5s ease-out;
}

.clock img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  transform: translate(-50%, -75%);
  object-fit: contain;
}

.clock img.watch-hand {
  width: 10%;
  transform: translate(-50%, -135%);
  transform-origin: center 60px;
  animation: anticlockwise 0.3s linear infinite;
}

.clock img.person {
  width: 60%;
  transform: translate(-50%, -70%);
}

.clock .year {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 12px;
  font-weight: bold;
  transform: translate(-40%, -75%);
}

audio {
  display: none;
}

/* 第一页 */
.play-switch {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 99;
  color: #fff;
  opacity: 0;
}

.p1 {
  color: #fff;
  background-color: #000;
}

.p1 .title {
  position: absolute;
  top: 15%;
  right: 15px;
  font-size: 20px;
  opacity: 0;
  transition: all 1s linear;
  transform: translate(-150px, 200px);
}

.p1 .text {
  position: absolute;
  top: 20%;
  padding-left: 15%;
}

.p1 .text li {
  margin: 40px 0 40px 10px;
  opacity: 0;
  transition: all 0.5s linear;
  transform: translate(350px);
}

.trans-fade-in {
  opacity: 1 !important;
  transform: none !important;
}

/* 第二页 */
.p2 {
  background: url("../images/p2/背景2.png");
  background-size: 100% 100%;
}

.p2 .header {
  width: 200px;
  margin: 50px 0 30px 20px;
}

.p2 .header img {
  width: 100%;
  height: 100%;
}

.p2 .body li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 40px;
  margin-top: 30px;
}

.p2 .body li img {
  transition: all 0.5s;
}

.p2 .body li img:first-child {
  width: 80px;
  height: 80px;
  opacity: 0;
  transform: translateX(-100%);
}

.p2 .body li img:last-child {
  height: 20px;
  opacity: 0;
  transform: translateX(100%);
}

.p2 .body li img.tr-op {
  opacity: 1;
  transform: none;
}

/* 第三页 */
.p3 {
  position: relative;
  background:
    url("../images/p3/烟花1.png") no-repeat center 150px,
    url("../images/p3/烟花2.png") no-repeat top left,
    url("../images/p3/烟花3.png") no-repeat right 100px,
    url("../images/p3/烟花4.png") no-repeat center 300px,
    url("../images/p3/背景.png") bottom;
  background-size:
    100% 30%,
    60% 35%,
    60% 35%,
    30% 30%,
    100% 100%;
}

.p3 .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 50%);
}

.back {
  position: absolute;
  top: 40px;
  left: 10px;
  z-index: 99;
}

.back>img {
  position: relative;
  width: 80px;
  height: 40px;
}

.p3 .title {
  position: absolute;
  top: 50px;
  left: 50%;
  width: 185px;
  height: 65px;
  background: url("../images/p3/边框.png") no-repeat;
  background-size: 100% 100%;
  transform: translateX(-50%);
}

.p3 .title img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p3 .list {
  position: relative;
  width: 100%;
  height: 100%;
}

.p3 .list li {
  position: absolute;
  top: 40%;
  left: 60%;
  width: 60px;
  height: 100px;
  opacity: 0;
  transition: all 0.5s;
  transform: translateX(100%);
}

.p3 .list li:first-child {
  top: 50%;
  left: 25%;
  transform: translateX(-100%);
}

.p3 .list li:last-child {
  top: 25%;
  left: 25%;
  transform: translateY(100%);
}

.p3 .list li.tr-op {
  opacity: 0.5;
  transform: none;
}

.p3 .list li img {
  width: 100%;
  height: 100%;
}

.p3 .layer {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 80%);
}

.p3 .layer .memory {
  width: 200px;
  padding: 30px 20px 40px;
  color: #fff;
  background: url("../images/p3/边框2.png") no-repeat center center;
  background-size: 200px;
}

.p3 .layer .memory div {
  font-size: 13px;
  font-weight: bold;
  line-height: 17px;
}

.p3 .layer .memory .text {
  font-size: 12px;
  text-indent: 2em;
}

/* 第四页 */
.p4 {
  display: flex;
  flex-direction: column;
  background: url("../images/p4/云.png") no-repeat center, url("../images/p4/背景.png") no-repeat bottom;
  background-size: 100% 100%;
}

.p4>.header {
  position: absolute;
  width: 100%;
  height: 10vh;
}

.p4>.header img {
  height: 100%;
}

.p4>.header .title {
  top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.p4>.header .title img {
  height: 100%;
  transition: all 0.5s;
  transform: scale(0);
}

.p4>.header .title span {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
}

.p4 .list {
  position: absolute;
  top: 50vh;
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, 50vw);
  row-gap: 5vh;
  justify-items: center;
  transform: translateY(-50%);
}

.p4 .list li {
  height: 30vw;
  opacity: 0;
  transition: all 0.5s;
}

.p4 .list li img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.p4-item {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 98;
  display: none;
  width: 100%;
  height: 100%;
  background: url("../images/p4/背景2.png") no-repeat bottom;
  background-size: 100% 100%;
}

.p4-item .pic {
  height: 50vh;
  padding: 0 2vw 0 5vw;
}

.p4-item .pic img {
  width: 100%;
  height: 100%;
}

.p4-item .content {
  display: flex;
  flex-direction: column;
  height: 50vh;
  padding: 0 10vw;
}

.p4-item .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p4-item .header img:first-child {
  height: 8vh;
}

.p4-item .header img:last-child {
  height: 5vh;
}

.p4-item .text {
  flex: 1;
  font-size: 18px;
  font-weight: bold;
  line-height: 7vh;
  text-indent: 2em;
  background: url("../images/p4/虚线.png") no-repeat center center;
  background-size: 100% 60%;
}

.p4-item .footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  height: 8vh;
  transform: translateY(-10vh);
}

.p4-item .footer .tip {
  font-size: 14px;
  color: #999;
  opacity: 0;
}

.p4-item .footer .continue {
  display: none;
}

.p4-item .footer img {
  height: 100%;
}

.p5 {
  background: url("../images/p5/背景.jpg") no-repeat center center;
  /* filter: blur(2px); */
  background-color: rgba(255, 255, 255, 30%);
  background-size: 100% 100%;
  backdrop-filter: blur(10px);
}

.p5 .list {
  position: relative;
  display: flex;
  justify-content: center;
  height: 80vh;
  padding: 15vh 0 0;
}

.p5 .list li+li {
  margin-left: 5vw;
}

.p5 .list li:nth-child(1) img {
  height: 250px;
}

.p5 .list li:nth-child(3) {
  display: flex;
  flex-direction: column;
}

.p5 .list li:nth-child(3) div {
  width: 80px;
  height: 130px;
}

.p5 .list li:nth-child(3) img {
  width: 80px;
  transition: all 1s linear;
}

.p5 .list li:nth-child(3) img+img {
  margin-top: 1vh;
}

.p5 .list li:nth-child(3) img.active {
  position: absolute;
  animation: rotateY 1s linear forwards;
}

.p5 .info {
  display: none;
  position: absolute;
  top: calc(50vh - 40vh);
  left: calc(50vw - 30vw);
  width: 60vw;
  height: 60vh;
}

.p5 .info li {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.p5 .info li img {
  display: block;
  width: 100%;
}

.p6 {
  background: url("../images/p6/背景.png") no-repeat center center;
  background-size: 100% 100%;
}

.p6::before {
  position: absolute;
  top: 0;
  left: 5vw;
  height: 100%;
  content: "";
  border-left: 1px solid #fff;
}

.p6 .title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10vh;
}

.p6 .title img {
  width: 35vw;
}

.p6 .tab-dot {
  position: absolute;
  left: 3vw;
  width: 4vw;
  height: 4vw;
  background-color: aqua;
  border-radius: 50%;
  transition: all 0.5s linear;
}

.p6 .content {
  display: flex;
}

.p6 .content .tabs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20vw;
  margin-left: 10vw;
  font-size: 12px;
  color: #ccc;
}

.p6 .content .tabs li {
  transition: all 0.5s;
}

.p6 .content .tabs li.active {
  font-size: 14px;
  color: #fff;
}

.p6 .content .list {
  flex: 1;
  transition: all 0.5s;
}

.p6 .content .list li {
  position: relative;
  transition: all 0.5s linear;
}

.p6 .content .list li+li {
  margin-top: -80px;
}

.p6 .content .list img {
  display: block;
  width: 100%;

  /* width: 70vw;
}
